@extends('layouts.mobile_main')

@section('title', '商家入驻')

@section('resources')
    @parent
    <link rel="stylesheet" href="{{ env('CSS_DOMAIN') }}/css/public.css?v={{env('CSS_VERSION')}}">
    <link rel="stylesheet" href="{{ env('CSS_DOMAIN') }}/css/check.css?v={{env('CSS_VERSION')}}">
    <script src="{{ env('JS_DOMAIN') }}/js/adaptation.js?v={{env('JS_VERSION')}}"></script>
    <style>
        .calltel{width: 9.6rem;height: 1.2rem;background-color: #9a54c6;line-height: 1.2rem;margin-left: 0.6rem;border: none;border-radius: 0.2rem;margin-top: 0.8rem;color: #fff;}
    </style>
@endsection

@section('content')
    <div>
        <header class="pay_sure oh" style="background-color: #fff;">
            <a class="fl" href="javascript:history.go(-1);"><img class="fl" src="{{env('IMAGE_DOMAIN')}}/images/back_p.png?v={{env('IMAGE_VERSION')}}" alt=""></a>
            <span class="fl co_violet fz_48">商家入驻</span>
        </header>
        <section class="business_in_center">
            <ul class="oh">
                <li class="fl"><img style="width: 100%;" class="fl" src="{{env('IMAGE_DOMAIN')}}/images/settled_banner.png?v={{env('IMAGE_VERSION')}}" alt=""></li>
                <li class="fl tc fz_44" style="width: 100%;height: 1.6rem;line-height: 1.6rem;">
                    入驻翻贝网流程
                </li>
                <li class="fl">
                    <div class="business_in_procedure">
                        <h1 class="fz_48">1</h1>
                        <p class="fz_36">联系客服</p>
                        <p class="fz_36 co_gray">提供门店信息</p>
                        <p class="fz_36 co_gray">等待上门拜访</p>
                    </div>
                    <div class="business_in_procedure pr">
                        <h1 class="fz_48">2</h1>
                        <p class="fz_36">等待审核</p>
                        <p class="fz_36 co_gray">经营资质审核</p>
                        <p class="fz_36 co_gray">客服搭建后台</p>
                        <p class="dateforcheck fz_28 co_white">1-2个工作日</p>
                    </div>
                    <div class="business_in_procedure">
                        <h1 class="fz_48">3</h1>
                        <p class="fz_36">上线宣传</p>
                        <p class="fz_36 co_gray">核实翻倍日期</p>
                        <p class="fz_36 co_gray">正式上线宣传</p>
                    </div>
                </li>
            </ul>
            <a id="weixin_user" hidden href="tel:4006989820"><button class="pay_sure_btn fz_50 tc co_white" style="margin-top: 0.8rem;">联系我们</button></a>
            <input id="mobile_user" hidden class="calltel" type="button" name="" value="联系我们" onclick="callTel('4006989820')">
        </section>
    </div>
@endsection

@section("scriptResources")
    @parent
    <script>
	    window.onresize=function(){
		    pagesp();
	    }

        //打电话
        function callTel(telNum){
            MobileJS.callTel(telNum);
            // console.log()
        }
        $(function(){
            if(navigator.userAgent=='FBWAndroidApp'||navigator.userAgent.indexOf('FBWiOSApp')>0){
                $('#mobile_user').show();
                $('#weixin_user').hide();
                $('header').hide();
            }else{
                $('#mobile_user').hide();
                $('#weixin_user').show();
                $('header').show();
            }
            var paysu_outer_h=$(window).height();
            $(".paysu_outer").css({"min-height":paysu_outer_h});
            // var business_in_center_h=$(window).height()-$(".pay_sure").height()-1;
            // $(".business_in_center ul li").css({"width":"100%","height": business_in_center_h});
            // $(".business_in_center ul li img").css({"width":"100%","height": business_in_center_h,"background-color": "#808080"});
        })
    </script>
@endsection
